package com.mayn.util;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/***
 * 进程处理工具类
 * @author 大刀
 *
 */
public class ProcessUtil {

	private static final Logger LOG = LoggerFactory.getLogger(ProcessUtil.class);

	/**
	 * 延时函数
	 * 
	 * @param ms
	 */
	@SuppressWarnings("static-access")
	public static void ThreadSleep(int ms) {
		try {
			Thread.currentThread().sleep(ms);// 毫秒
		} catch (InterruptedException e) {
			LOG.error("延时函数异常" + e.getMessage());
		}
	}


}
